package test;

import _abstract.factory.pizza.Pizza;
import _abstract.factory.store.NYPizzaStore;
import simple.factory.method.SimplePizzaFactory;

public class AbstractFactoryMain {
    public static void main(String[] args) {
        NYPizzaStore nyPizzaStore = new NYPizzaStore(new SimplePizzaFactory());
        Pizza cheese = nyPizzaStore.orderPizza("cheese");
        System.out.println(cheese);
    }
}
